"""
12-dars. Mavzu: Shartlar.
"""


# print(3 == 3)

# if 1 - shart:
#     1 - vazifa
# elif 2 - shart:
#     2 - vazifa
# else:
#    qolgan xolatlar uchun vazifa

X = 0

if X:
    print('X 1 ga teng')
else:
    print('X 0 ga teng')

# if 1:
#     print('1 bor')
# else:
#     print('0 bor')

LIGHT = 'blue'

if LIGHT == 'red':
    print('Stop')
elif LIGHT == 'yellow':
    print('Wait')
elif LIGHT == 'green':
    print('Go')
else:
    print('What?')

AGE = int(input('Yoshingiz nechada? '))

if AGE >= 18:
    print('Xush kelibsiz')
else:
    print(f'Yoshingiz {AGE} da.\
    {18 - AGE} yildan keyin keling.')

TIME = 12

if TIME < 12 or TIME > 13:
    print('Ochiq')
else:
    print('Yopiq')

TIME = 8
DAY = 'chorshanba'

if TIME >= 8 and DAY != 'Yakshanba':
    print('Ochiq')
else:
    print('Close')

X = 0
if not X:
    print('X 1 ga teng emas')
else:
    print('X 0 ga teng emas')

X = 1

RES = 'OK' if X else 'NO'
print(RES)
print('OK' if X else 'NO')
